'use strict';
exports.main = async (event, context) => {
	const { state } = event;
	await uniCloud.database().collection('carList').where({}).update({
		state: state
	})
	return {
		code: 200,
		message: '状态修改成功'
	}
};
